package com.qianfeng.ls.entity;

import java.util.Date;
import java.util.List;

public class OrderEntity {

    private String oid;
    private int aid;
    private int ostatus;//订单状态
    private Date ocreateDate;
    private float ototalPrice;
    private int addressId; //地址id

    private UserEntity customer;//这个订单是哪个用户的
    private List<OrderDetailEntity> orderDetails;

    public UserEntity getCustomer() {
        return customer;
    }

    public void setCustomer(UserEntity customer) {
        this.customer = customer;
    }

    public List<OrderDetailEntity> getOrderDetails() {
        return orderDetails;
    }

    public void setOrderDetails(List<OrderDetailEntity> orderDetails) {
        this.orderDetails = orderDetails;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public int getOstatus() {
        return ostatus;
    }

    public void setOstatus(int ostatus) {
        this.ostatus = ostatus;
    }

    public Date getOcreateDate() {
        return ocreateDate;
    }

    public void setOcreateDate(Date ocreateDate) {
        this.ocreateDate = ocreateDate;
    }

    public float getOtotalPrice() {
        return ototalPrice;
    }

    public void setOtotalPrice(float ototalPrice) {
        this.ototalPrice = ototalPrice;
    }

    public int getAddressId() {
        return addressId;
    }

    public void setAddressId(int addressId) {
        this.addressId = addressId;
    }
}
